<table class="xsui-table xsui-table-striped xsui-table-hover xsui-table-bordered">
    <thead>
        <tr>
            <th>位置属性</th>
            <th>频道</th>
            <th>名称</th>
            <th>标题</th>
            <th>英文名称</th>
            <th>类型</th>
            <th>分组</th>
            <th>数量</th>
            <th>宽(像素)</th>
            <th>高(像素)</th>
            <th>规格(KB)</th>
            <th>文件格式</th>
            <th>状态</th>
            <th>创建时间</th>
            <th>操作</th>
        </tr>
    </thead>
    <tbody>
    <foreach name="list" item="vo">
        <tr data-key="{$vo.id}">
            <td class="xsui-nowrap">{$vo.location}</td>
            <td class="xsui-nowrap">{$vo.channel}</td>
            <td class="xsui-nowrap">{$vo.ad_name}</td>
            <td class="xsui-nowrap" title="{$vo.title}"><a href="{:U('AdvertisingContent/content_list','ad_code='.$vo['ad_code'])}" class="xsui-lnk-tab" data-id="{$vo.id}" title="内容管理 {$vo.title}">{:sofn_msubstr($vo['title'],0,30)}</a></td>
            <td>{$vo.ad_code}</td>
            <td>{$vo.ad_type}</td>
            <td>{$vo.ad_group}</td>
            <td>{$vo.count}</td>
            <td>{$vo.image_width}</td>
            <td>{$vo.image_height}</td>
            <td>{$vo.file_size}</td>
            <td>{$vo.file_type}</td>
            <td>{$vo.status|sofn_get_state_text='user-state',###}</td>
            <td>{$vo.create_time}</td>
            <td>
                <ul class="xsui-operate-group">
                    <li><a href="#" class="xsui-btn ui-state-default xsui-icon-right">操作<i class="fa fa-caret-square-o-down"></i></a>
                        <ul>
                            <li><a href="{:U('AdvertisingContent/content_list','ad_code='.$vo['ad_code'])}" class="xsui-lnk-tab" data-id="{$vo.id}" title="内容管理 {$vo.title}"><i class="fa fa-table fa-fw"></i>管理</a></li>
                            <li><a href="{:U('advert_edit','id='.$vo['id'])}" class="xsui-lnk-edit-dialog" data-id="{$vo.id}" title="编辑 {$vo.title}"><i class="fa fa-edit fa-fw"></i>编辑</a></li>
                            <li><a href="{:U('advert_copy','id='.$vo['id'])}" class="xsui-lnk-edit" data-id="{$vo.id}" title="复制 {$vo.title}"><i class="fa fa-copy fa-fw"></i>复制</a></li>
                            <li><a href="{:U('advert_delete','id='.$vo['id'])}" class="xsui-lnk-remove" data-id="{$vo.id}" title="删除 {$vo.title}"><i class="fa fa-remove fa-fw"></i>删除</a></li>
                        </ul>
                    </li>
                </ul>
            </td>
        </tr>
    </foreach>
</tbody>
</table>
<div class="xsui-pagination">{$page}</div>